package com.ice.base.service;

import com.ice.base.model.SysLoginModel;

/**
 * Description:
 * Date: 2021-12-17
 * Time: 11:36
 */
public interface SysLoginService extends BaseService<SysLoginModel>{


    Integer insertSysLogin(SysLoginModel model);
    //
    SysLoginModel getById(Integer id);


    SysLoginModel selectModelByUserName(String SysLoginModel_name);

    SysLoginModel selectDetailsById(Integer id);

    SysLoginModel getLoginDetails(SysLoginModel sysLoginModel);

    SysLoginModel getByUserNo(String userNo);

    /**
     * 更新用户人脸识别状态
     * @param user
     * @return
     */
    boolean modifyIsFaceByCardNo(SysLoginModel user);

    /**
     * 根据用户卡号查询用户人脸识别状态
     * @param cardNo
     * @return
     */
    int selectIsFaceByCardNo(String cardNo);

}

